package com.zyl.courseservice.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zyl.courseservice.entity.TUser;
import com.zyl.courseservice.entity.vo.StudentVo;
import com.zyl.courseservice.mapper.TUserMapper;
import com.zyl.courseservice.service.TUserService;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 略
 * @since 2020-12-08
 */
@Service
public class TUserServiceImpl extends ServiceImpl<TUserMapper, TUser> implements TUserService {

    @Override
    public Page<StudentVo> getStudentList(Page<StudentVo> page) {
        return page.setRecords(this.baseMapper.getQueryStudentList(page));
    }
}
